﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.Threading.Tasks;
using LevelEditor.Objects;
using LevelEditor.Dao;

namespace LevelEditor.App.Serialization
{
    [XmlRoot("Tile")]
    public class SCharacter : STile
    {
        private float fieldOfView;
        [XmlElement("FieldOfView")]
        public float FieldOfView
        {
            get { return fieldOfView; }
            set { fieldOfView = value; }
        }

        private float perception;
        [XmlElement("PerceptionArea")]
        public float PerceptionArea
        {
            get { return perception; }
            set { perception = value; }
        }

        private float walkSpeed;
        [XmlElement("WalkSpeed")]
        public float WalkSpeed
        {
            get { return walkSpeed; }
            set { walkSpeed = value; }
        }

        public SCharacter()
        {

        }
    }
}
